package com.kexio.enterprise.observability.metrics.statistics;

/**
 * 计时器统计
 * 
 * @author Kexio
 * @since 1.0.0
 */
public class TimerStatistics {
    private long count;
    private double totalTime;
    private double averageTime;
    private double maxTime;
    private double minTime;
    private double p50;
    private double p95;
    private double p99;

    // Getters and Setters
    public long getCount() { return count; }
    public void setCount(long count) { this.count = count; }
    
    public double getTotalTime() { return totalTime; }
    public void setTotalTime(double totalTime) { this.totalTime = totalTime; }
    
    public double getAverageTime() { return averageTime; }
    public void setAverageTime(double averageTime) { this.averageTime = averageTime; }
    
    public double getMaxTime() { return maxTime; }
    public void setMaxTime(double maxTime) { this.maxTime = maxTime; }
    
    public double getMinTime() { return minTime; }
    public void setMinTime(double minTime) { this.minTime = minTime; }
    
    public double getP50() { return p50; }
    public void setP50(double p50) { this.p50 = p50; }
    
    public double getP95() { return p95; }
    public void setP95(double p95) { this.p95 = p95; }
    
    public double getP99() { return p99; }
    public void setP99(double p99) { this.p99 = p99; }
}
